using System;
using MediatR;
using RBAC.Read.Api.Application.Dto.ERP.SalesReport;
using RBAC.ErrorCode;

namespace RBAC.Read.Api.Application.Command.ERP.SalesReport
{
    /// <summary>
    /// 开票通知明细 列表查询（分页）
    /// </summary>
    public class GetBillingNoticeDetailListCommand : IRequest<APIResult<GetBillingNoticeDetailListDto>>
    {
        /// <summary>
        /// 开票单号
        /// </summary>
        public string? BillCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? CustomerName { get; set; }   
        /// <summary>
        /// 税号
        /// </summary>
        public string? TaxNo { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }  
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 20; 
    }
}
